<template>
  <div id="app">
    <Head />
    <router-link to='/index'>首页</router-link>
    <router-link to='/detail'>详情页</router-link>
     <router-view></router-view>
    <Footer />
  </div>
</template>

<script>
import Head from "./components/Head";
import Footer from "./components/Footer";

export default {
  name: "App",
  components: {
    Head,
    Footer,
  },
};
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
